Partial Derivative Of Logistic Regression Cost Function